
import API from "./config"
export default {
  queryCoupons(page, pageSize, producer, orderId) {
    return API.post(`/couponUser/findCoupon`, { page, pageSize, producer, orderId })
  },
  queryMonth(page = 1, pageSize = 3) {
    return API.post(`/coupon/query`, { page, pageSize })
  },
  queryThird(page = 1, pageSize = 3, thirdTypeId) {
    return API.post(`/coupon/queryThird`, { page, pageSize, thirdTypeId })
  },
  queryCouonDetail(id) {
    return API.get(`/coupon/get/${id}`)
  },

  queryType() {
    return API.post(`/coupon/queryCouponThirdType`)
  },


}